
<%@ page import="is2_domestik.Imagen" %>
<!doctype html>
<html>
  <head>
    <meta name="layout" content="bootstrap">
  <g:set var="entityName" value="${message(code: 'imagen.label', default: 'Imagen')}" />
  <title><g:message code="default.show.label" args="[entityName]" /></title>
</head>
<body>
  <div class="row-fluid">

    <div class="span3">
      <div class="well">
        <ul class="nav nav-list">
          <li class="nav-header">${entityName}</li>
          <li>
          <g:link class="list" action="list">
            <i class="icon-list"></i>
            <g:message code="default.list.label" args="[entityName]" />
          </g:link>
          </li>
          <li>
          <g:link class="create" action="create">
            <i class="icon-plus"></i>
            <g:message code="default.create.label" args="[entityName]" />
          </g:link>
          </li>
        </ul>
      </div>
    </div>

    <div class="span9">

      <div class="page-header">
        <h1><g:message code="default.show.label" args="[entityName]" /></h1>
      </div>

      <g:if test="${flash.message}">
        <bootstrap:alert class="alert-info">${flash.message}</bootstrap:alert>
      </g:if>

      <dl>

        <g:if test="${imagenInstance?.screenshot}">
          <dt><g:message code="imagen.screenshot.label" default="Avatar" /></dt>
          <g:link action="showImage" id="${imagenInstance.id}">${fieldValue(bean: imagenInstance, field: "id")}
            <img alt="img" src="http://localhost:8080/is2-domestik/imagen/showImage/${imagenInstance.id}">
          </g:link>
        </g:if>

        <g:if test="${imagenInstance?.dateCreated}">
          <dt><g:message code="imagen.dateCreated.label" default="Creada" /></dt>

          <dd><g:formatDate date="${imagenInstance?.dateCreated}" /></dd>

        </g:if>

        <g:if test="${imagenInstance?.lastUpdated}">
          <dt><g:message code="imagen.lastUpdated.label" default="Ultima actualizacion" /></dt>

          <dd><g:formatDate date="${imagenInstance?.lastUpdated}" /></dd>

        </g:if>

      </dl>

      <g:form>
        <g:hiddenField name="id" value="${imagenInstance?.id}" />
        <div class="form-actions">
          <g:link class="btn" action="edit" id="${imagenInstance?.id}">
            <i class="icon-pencil"></i>
            <g:message code="default.button.edit.label" default="Edit" />
          </g:link>
          <button class="btn btn-danger" type="submit" name="_action_delete">
            <i class="icon-trash icon-white"></i>
            <g:message code="default.button.delete.label" default="Delete" />
          </button>
        </div>
      </g:form>

    </div>

  </div>
</body>
</html>
